package com.ctshk.rpc.finance.dto.advance;

import com.ctshk.rpc.finance.json.FileJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;


/**
 * 申请预收款详情Dto
 */
@Data
@ApiModel(value = "AdvancePaymentApplyDTO",description = "申请预收款详情Dto")
public class AdvancePaymentApplyDTO implements Serializable {

    @ApiModelProperty(value = "预收金额")
    private BigDecimal moneyAmount;

    @ApiModelProperty(value = "不可用金额")
    private BigDecimal unavailableAmount;

    @ApiModelProperty(value = "可用金额")
    private BigDecimal availableAmount;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "收款方式名称")
    private String paymentMethodName;

    @ApiModelProperty(value = "收款时间")
    private LocalDateTime collectionTime;

    @ApiModelProperty(value = "说明")
    private String explains;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批id")
    private Long approvalId;

    @ApiModelProperty(value = "附件")
    private String fileJson;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "申请人")
    private String applier;

    @ApiModelProperty(value = "申请人部门")
    private String deptName;

    @ApiModelProperty(value = "附件list")
    private List<FileJson> fileJsonList;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商联系人")
    private String supplierContacts;

    @ApiModelProperty(value = "供应商联系电话")
    private String supplierTelephone;

    @ApiModelProperty(value = "供应商联系邮箱")
    private String supplierEmail;

    @ApiModelProperty(value = "供应商地址")
    private String supplierAddress;

    @ApiModelProperty(value = "供应商银行名称")
    private String supplierBankName;

    @ApiModelProperty(value = "供应商银行卡号")
    private String supplierBankCard;

}
